<div id="editTopicFormDiv" class="layui-form-custom-panel">
    <form class="layui-form layui-form-pane" action="" lay-filter="editTopicForm">
        <input type="hidden" name="id" value="{{>id}}" autocomplete="off" placeholder="文章标题" class="layui-input">
        <div class="layui-form-item">
            <label class="layui-form-label">文章标题</label>
            <div class="layui-input-inline">
                <input type="text" name="title" value="{{>title}}" autocomplete="off" placeholder="请输入文章标题"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">价格</label>
            <div class="layui-input-inline">
                <input type="text" name="priceInfo" value="{{>priceInfo}}"  autocomplete="off"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">阅读个数</label>
            <div class="layui-input-inline">
                <input type="text" name="readCount" value="{{>readCount}}"  autocomplete="off"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">文章副标题</label>
            <div class="layui-input-block">
                <input type="text" name="subtitle" value="{{>subtitle}}" autocomplete="off" placeholder="请输入文章副标题"
                       class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">文章封面</label>
            <div class=" layui-input-block layui-upload-drag" id="itemPicUrl">
                <img src="{{>itemPicUrl}}" height="200px" width="400px">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label">内容分类</label>
            <div class="layui-input-inline">
                <select name="topicCategoryId" lay-verify="required" lay-search="">
                    <option value="">直接选择或搜索选择</option>
                    {{for topicCateGorys}}
                    <option value="{{>id}}">{{>title}}</option>
                    {{/for}}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否展示</label>
            <div class="layui-input-block">
                <input type="checkbox" checked="checked" name="isShow" lay-skin="switch" lay-filter="switchTest"
                       lay-text="开启|关闭">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">文章内容</label>
            <div class="layui-input-block">
                <textarea id="topicDescription" name="content" value="{{>content}}"
                          class="layui-textarea layui-hide"></textarea>
            </div>
        </div>

    </form>
</div>